#include "app_message.h"
#include "log.h"
#include "app_common.h"
int main(int argc, char const *argv[])
{
    char bytes[9]={0x01,0x02,0x04,0x58,0x58,0x61,0x62,0x63,0x064};

     char *json=  app_message_bytes_to_json(bytes,9);
     log_info("json = %s",json);
     
     char buff[100];
    int len=  app_message_json_to_bytes(json,buff,100);
    
    app_common_print_hex(buff,len);

    return 0;
}